/**
 * @author 郑佳超
 * @since 2017-4-6
 */
ADF.ControlFactory = function ControlFactory(controlList) {
    this.controlList = controlList;
    ADF.ControlFactory.superclass.constructor.call(this);
    this._init();
};
COM.util.defineClass(ADF.ControlFactory, AGEF.DefaultControlFactory, {

    _init: function () {
        this.controlList.forEach(function (control) {
            this.registryControlClass(control.getModel(), control.getDomControl());
        }, this);
    }
});
